﻿#region File and License Information
/*
<File>
	<License>
		Copyright © 2009 - 2017, Daniel Vaughan. All rights reserved.
		This file is part of Calcium (http://calciumsdk.net), 
		which is released under the MIT License.
		See file /Documentation/License.txt for details.
	</License>
	<CreationDate>2013-03-21 20:07:26Z</CreationDate>
</File>
*/
#endregion

using System.Threading.Tasks;
using System.Windows.Input;

namespace Outcoder.UI.Xaml
{
	/// <summary>
	/// Extend <c>ICommand</c> to provide display centric properties 
	/// such as text and visibility.
	/// </summary>
	public interface IUICommand : ICommand
	{
		string Text { get; }

		bool Visible { get; }

		bool Enabled { get; }

		string IconUrl { get; }

		string IconCharacter { get; }

		string IconFont { get; }

		bool IsChecked { get; }

		string Id { get; }

		Task RefreshAsync(object commandParameter = null);

	}
}